package cn.stylefeng.guns.modular.recy.entity;
/*
 */

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_command_order")
public class CommandOrder extends Model<CommandOrder> implements Serializable
{
    //alias
    public static final String TABLE_ALIAS = "远程命令";
    public static final String ALIAS_ID = "编号";
    public static final String ALIAS_BINS_ID = "回收箱id";
    public static final String ALIAS_WASTE_TYPE_ID = "分类id";
    public static final String ALIAS_COMMAND_TAG = "命令标识";
    public static final String ALIAS_IS_READ = "是否已读";
    public static final String ALIAS_IS_FINISH = "是否执行结束";
    public static final String ALIAS_CREATE_TIME = "创建时间";
    public static final String ALIAS_RETURN_MSG = "返回信息";
    public static final String ALIAS_CREATE_USER_ID = "发送者";

    //date formats
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String FORMAT_CREATE_TIME = DATE_FORMAT;



//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
//columns START
    @TableId(value = "id", type = IdType.ID_WORKER)
    private java.lang.Long id;

    @TableField("bins_id")
    private java.lang.Long binsId;

    @TableField("waste_type_id")
    private java.lang.Long wasteTypeId;

    @TableField("command_tag")
    private java.lang.String commandTag;

    @TableField("is_read")
    private java.lang.Integer isRead;

    @TableField("is_finish")
    private java.lang.Integer isFinish;

    @TableField("create_time")
    private java.util.Date createTime;

    @TableField("return_msg")
    private java.lang.String returnMsg;

    @TableField("create_user_id")
    private java.lang.Long createUserId;

//columns END







    

}
